package architect;

import java.math.BigDecimal;
import java.util.function.Supplier;

/**
 * @title: JavaSupplier
 * @description:
 * @author: guanxin
 * @date: 2019-11-09 11:54
 * @since: Jdk8
 */

public class JavaSupplier {

    public static void main(String[] args) {
        System.out.println(test1.get().negate());
    }

    private static Supplier<BigDecimal> test1 = () -> BigDecimal.ONE;
}
